#include <stdio.h>
int main()
{
    int n;
int m;
    int i;
    int arr[10];
    for(i=0;i<10;i++)
    {arr[i]=0;}

    scanf("%d",&n);
while(n!=-1)
{if(0<=n&&n<=9)
{arr[n]++;
}
    scanf("%d",&n);

}
for(m=0;m<10;m++)
{printf("%d",arr[m]);
printf(" ");

}

    return 0;
}
